﻿Imports System.ComponentModel

Public Class ModuleInfo
    Implements INotifyPropertyChanged

    Private _ModuleTitle As String = String.Empty

    Private _ModuleDescription As String = String.Empty

    Public Property ModuleTitle As String
        Get
            Return _ModuleTitle
        End Get
        Set(ByVal value As String)
            _ModuleTitle = value
            NotifyPropertyChanged()
        End Set
    End Property

    Public Property ModuleDescription As String
        Get
            Return _ModuleDescription
        End Get
        Set(ByVal value As String)
            _ModuleDescription = value
            NotifyPropertyChanged()
        End Set
    End Property

    Public Property tileIconPath As String

    Public Event PropertyChanged(ByVal sender As Object, ByVal e As System.ComponentModel.PropertyChangedEventArgs) Implements System.ComponentModel.INotifyPropertyChanged.PropertyChanged

    Private Sub NotifyPropertyChanged(Optional ByVal propertyName As String = Nothing)
        RaiseEvent PropertyChanged(Me, New PropertyChangedEventArgs(propertyName))
    End Sub
End Class
